package cate.game.play.proce.move;

import cate.game.play.proce.turn.TurnCtx;

public interface AppendMoveHandler {

	//当前追加行动是否失效
	boolean inValid(TurnCtx turn, AppendMove appendMove);

	//追加行动前的处理
	void beforeAppendMove(TurnCtx turn, AppendMove appendMove);

	//行动结束后的处理
	void afterAppendMove(TurnCtx turn, AppendMove appendMove);

	//行动终止时
	void onAppendMoveFail(TurnCtx turn, AppendMove appendMove);
}
